/*-------------------
---- Main Styles ----
---------------------*/

html,body{
	height:100%;
}

body{
	font-family: 'Open Sans','Microsoft Yahei',sans-serif;
	font-size: 16px;
	color: #444;
	letter-spacing: .01em;
	overflow-x: hidden;
	word-wrap: break-word;
}

h1,h2,h3,h4,h5,h6{
	color: #000;
	word-break: break-all;
	font-weight:bold;
}

#main-content{
	position: relative;
	background: #fff;
	z-index: 10;
}

#main-content .scroll-down {
	margin-bottom: 150px;
    /*overflow: hidden;*/
}

#main-content .scroll-down .image-enter{
	top:-55px;
	background: url(../images/main-content-top-scroll-down-frist-enter.png) 50% 0 no-repeat;
	height: 80px;
}

#main-content .scroll-down .image-enter-fill:before {
	background: #fff;
	left: -63px;
}

#main-content .scroll-down .image-enter-fill:after {
	background: #fff;
	right: -63px;
}

#main-content .scroll-down .image{
	position: relative;
	height: 183px;
}

#main-content .scroll-down .image {
  position: relative;
}
#main-content .scroll-down .image-text {
    position: absolute;
    top: -20px;
    width: 100%;
    text-align: center;
}

.image-enter{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-enter-fill:before {
    position: absolute;
    height: 100%;
    width: 50%;
    content: "";
}

.image-enter-fill:after {
    position: absolute;
    height: 100%;
    width: 50%;
    content: "";
}

a:focus,
button:focus{
  outline: none !important;
}

p {
	word-break: break-all;
}

a{
	color: #00CCCB;
	-webkit-transition:color .15s ease-out;
	transition:color .15s ease-out;
	word-break: break-all;
}

a:hover,
a:focus{
	color: #89949C;
	text-decoration: none;
}

.lead{
	margin-bottom: 30px;
	font-size: 28px;
	font-weight: 300;
	color: #39444C;
}

.big-padding{
	padding-top:100px;
	padding-bottom: 100px;
}

.small-padding{
	padding-top:60px;
	padding-bottom: 60px;
}

.big-margin{
	margin-top:100px;
	margin-bottom: 100px;
}

.small-margin{
	margin-top:60px;
	margin-bottom: 60px;
}

.section-title{
	margin-bottom: 50px;
	margin-top: 0;
	font-size: 62px;
	font-weight: 400;
	color: #39444C;
	text-align: center;
}

.section-title span{
	position: relative;
	top:-20px;
	font-size:42px;
	font-weight: 400;
}

.section-title + .subtitle{
	margin:-40px 0 50px;
	font-size: 21px;
	text-align: center;
}

.margin-top{
	margin-top: 60px !important;
}

.row-title{
	color:#39444C;
	font-weight: 400;
}

.push-down{
	margin-top:120px;
}

.img-center{
	margin: 0 auto;
}

.margin-grid{
	margin-bottom: 30px;
}

hr{
	border-color:#b9c4cC;
	margin:80px 0 80px;
}

.flexslider{
	margin:0;
	padding:0;
	border:none;
	box-shadow:none;
	background:transparent;
}

.text-left {
    text-align: left;
}
.text-center {
	text-align: center;
}

.content-center {
	margin: 0 auto;
}

.content-center .row {
	margin-left: 0;
	margin-right: 0;
}

.background-image {
	position: absolute;
	width: 100%;
	background: #000;
	z-index:-1;
	overflow: hidden;
}

.background-image img {
	height: 100%;
	margin-left: -40%;

}

.description {
	line-height: 150%;
}

.inline-text h1,
.inline-text h2,
.inline-text h3,
.inline-text h4 {
    display: inline;
}
/*------------------
------ Colors ------
--------------------*/

.main-color{
	color:#38bde8 !important;
}

.bg-main-color{
	background:#38bde8;
	color:#fff;
}

.white-color{
	color: #fff;
}

.dark-bg{
	background:#11161b;
	color:#a9b4bC;
}

.gray-bg{
	background: #fbfbfc;
}

.white-bg{
	background: #fff;
}

.light-typo *{
	color: #fff;
}

.light-typo .btn-dc {
	color: #fff;
	background: #38bde8;
}

.light-typo .btn-dc.btn-small {
	border-color: #fff;
}

.decoration-h2 {
	border-bottom:2px solid #38bde8;
	padding-bottom: 3px;
}

/*---------------
---- Buttons ----
-----------------*/

.btn-dc{
	position: relative;
	padding:10px 50px;
	font-size:21px;
	border:3px solid;
	border-radius: 30px;
	-webkit-transition:padding .2s ease-out;
	transition:padding .2s ease-out;
	color: #222;
	border-color: #38bde8;
	background: #fff;
}

.btn-dc.btn-small{
	position: relative;
	padding:7px 30px;
	margin-top: 20px;
	font-size:18px;
	border:3px solid;
	border-radius: 30px;
	-webkit-transition:padding .2s ease-out;
	transition:padding .2s ease-out;
	border-color: #38bde8;
}

.btn-dc:after{
	position: absolute;
	margin-left:10px;
	content:"\f061";
	font-family: fontAwesome;
	opacity:0;
	-webkit-transition:all .2s ease-out .0s;
	transition:all .2s ease-out .0s;
}

.btn-dc:hover{
	padding-right:70px;
}

.btn-dc.btn-small:hover{
	padding-right:50px;
}

.btn-dc:hover:after{
	margin-left:30px;
	opacity:1;
}

.btn-dc.btn-small:hover:after{
	margin-left:15px;
	opacity:1;
}

.btn-white,
.btn-white:hover,
.btn-white:focus{
	color:#fff;
	border-color:#fff;
}

.btn-dc.btn-main-color,
.btn-dc.btn-main-color:hover,
.btn-dc.btn-main-color:focus{
	color: #00CCCB;
}

.navbar-toggle {
	background: #eee;
	margin-right: 20px;
}
.navbar-toggle .icon-bar {
	background-color: #666;
}

/*-----------------------
---- Preloader Styles ----
-------------------------*/
#page-loader{
	position: fixed;
	right:0;
	bottom: 0;
	top: 0;
	width:100%;
	background: #fff;
	z-index: 99999;
}

#page-loader .page-loader-gif{
	display: block;
	width:64px;
	height:64px;
	position: absolute;
	top:50%;
	left:50%;
	margin:-32px 0 0 -32px;
	background: url('../images/preloader.gif') no-repeat;
}

/*------------------
---- Nav Styles ----
--------------------*/

#main-nav{
	padding:0;
	background: transparent;
	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;
	margin-bottom: 0;
    /*overflow: hidden;*/
}

#main-nav .container{
	padding: 0;
	-webkit-transition: padding .3s ease-out;
	transition: padding .3s ease-out;
}

#main-nav.scrolled .container{
	padding: 0;
}

#main-nav.scrolled{
	background: #fff;
	/*border-bottom:1px solid #b9c4cC;*/
}

.navbar > .container .navbar-brand{
	float: none;
	margin: 0 auto;
	padding: 2px 0 5px 15px;
	width: 100px;
}

.navbar-brand{
	position: relative;
}

#main-nav.scrolled .navbar-brand:after{
	position: absolute;
	/*height:30px;*/
	right:-30px;
	top:50%;
	margin-top:-5px;
	font-family: fontAwesome;
	content:"\f062";
	color:#d9e4eC !important;
	opacity: 0;
	-webkit-transform: translateY(10px);
	transform: translateY(10px);
	-webkit-transition: all .2s ease-out;
	transition: all .2s ease-out;
}

#main-nav.scrolled .navbar-brand:hover:after{
	opacity:1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}

#site-nav {
  padding-right: 0;
  padding-left: 0;
}

#site-nav a{
	margin-top: 35px;
	font-size: 14px;
	font-weight: 6400;
	color:#222;
	text-align: center;
	background: none;
	-webkit-transition: color .2s ease-out, padding .3s ease-out;
	transition: color .2s ease-out, padding .3s ease-out;
	z-index: 2;
}


#site-nav .logo img {
	position: absolute;
	top: 0;
	z-index: 1;
}

#site-nav .active a{
	padding-top: 4px;
	padding-bottom:10px;
	color:#38bde8 !important;
	background: none;
}

#site-nav a .fa{
	display: block;
	margin-bottom: 5px;
	font-size: 21px;
	text-align: center;
}

#site-nav ul li.dropdown .dropdown-toggle {
    /*color: #38bde8;*/
}

#site-nav ul li.dropdown .dropdown-menu {
    background: #fff;
    /*background: rgba(255,255,255, 0.8);*/
    opacity: 0.95;
}

#site-nav ul li.dropdown .dropdown-menu li {
    margin: 5px 0;
    height: auto;
}

#site-nav ul li.dropdown .dropdown-menu li a{
    padding: 0;
    margin: 0;
}

#site-nav ul li.dropdown .dropdown-menu li + li{
    border-top: 1px solid #aaa;
}

#site-nav .sub {
    -webkit-transition: background .1s ease-out;
    transition: background .1s ease-out;
}

#site-nav .navbar-nav {
    float: none;
}

/*---------------------
---- Header Styles ----
-----------------------*/

#home{
	position: relative;
	height:100%;
	min-height:860px;
	margin-bottom:-64px;
	background-color: #000;
	overflow: hidden;
}

#home .home-container{
	position: fixed;
	width:100%;
	height:100%;
	min-height:860px;
	z-index: 2;
}

#home .description {
	font-size: 19px;
}

/*---------------------
---- eyestest Styles ----
-----------------------*/

#eyestest{
    background: url(../images/eyetest-bg.png) 43% no-repeat;
    background-size: auto 900px;
    height: 900px;
}

#eyestest .image-enter{
	top:-140px;
	position: relative;
	background: url(../images/image-enter2.png) 50% no-repeat;
	width: 100%;
	height: 80px;
}

#eyestest .description {
	margin: 20px auto;
	max-width: 600px;
    background: #fff;
	background: rgba(255,255,255, 0.7);
	border: 4px solid #38bde8;
	border-bottom: none;
	padding: 30px;
	font-size: 20px;
}

#eyestest .description-image-leave {
	position: relative;
	top:-20px;
	margin: 0 auto;
	max-width: 600px;
	background: url(../images/eyestest-descr-leave.png) 50% 0 no-repeat;
	height: 37px;
	overflow: hidden;
}

#eyestest .description-image-leave:before {
	position: absolute;
	height: 100%;
	width: 50%;
	left: -37px;
	border-top: 4px solid #38bde8;
	content: "";
}

#eyestest .description-image-leave:after {
	position: absolute;
	height: 100%;
	width: 50%;
	right: -37px;
	border-top: 4px solid #38bde8;
	content: "";
}


/*-----------------------------
---- knowledgeSchool Styles ---
------------------------------*/

#knowledgeSchool{
    background: url(../images/knowledgeSchool-bg.png) 43% no-repeat;
    background-size: auto 900px;
    min-height: 900px;
}

#knowledgeSchool .image-enter{
	top:-160px;
	position: relative;
	background: url(../images/knowledgeSchool-enter.png) 50% no-repeat;
	width: 100%;
	height: 166px;
}

#knowledgeSchool .description {
	margin: 20px auto;
	max-width: 710px;
    background: #38bde8;
	background: rgba(56,189,232, 0.7);
	border: 1px solid #555;
	padding: 30px;
	font-size: 20px;
}

#knowledgeSchool .add {
	background: url(../images/add.png) no-repeat;
	background-size: contain;
	width: 28px;
	height: 28px;
	border: none;
}

/*---------------------
---- answer Styles ----
----------------------*/

#answer {
	min-height: 900px;
	background: url(../images/answer-bg.png) 50% no-repeat;
	background-size: auto 925px;
}

#answer .image-top{
	background: url(../images/answer-top.png) 50% no-repeat;
	width: 100%;
	height: 80px;
}

#answer .background-image {
	height: 900px;
}

#answer .description {
	margin: 20px auto;
	max-width: 530px;
    background: #fff;
	background: rgba(255,255,255, 0.7);
	border: 4px solid #38bde8;
	padding: 30px;
	font-size: 20px;
}

/*---------------------
---- rohto Styles ----
----------------------*/

#rohto {
	min-height: 900px;
	background: url(../images/rohto-bg.png) 50% no-repeat;
	background-size: auto 900px;
}

#rohto .background-image {
	height: 900px;
}

#rohto .description {
	margin: 20px auto;
	font-size: 20px;
}

/* footer */

#main-footer {
	padding: 30px 0;
}

#main-footer .description{
	color: #fff;
	font-size: 17px;
}
/* back to top*/

.backToTop {
    position: fixed;
    width: 70px;
    height: 70px;
    font-size: 20px;
    background: #38bde8;
    color: #fff;
    border: 1px solid #fff;
    top: 25%;
    right: 5%;
    z-index: 11;
    border-radius: 70px;
    padding: 11px 14px;
    line-height: 25px;
    cursor: pointer;
    display: none;
}
.backToTop div {
    white-space:nowrap;
    width: 100px;
}

/*------------------------
---Scrolling animations---
-------------------------*/

.scrollimation.fade-in{
	opacity:0;
	-webkit-transition:opacity 1.2s ease-out;
	transition:opacity 1.2s ease-out;
}

.scrollimation.fade-in.in{
	opacity:1;
}

.scrollimation.scale-in{
	opacity:0;
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform:scale(0.5);
	-webkit-transition: -webkit-transform .6s cubic-bezier(.17,.89,.67,1.57), opacity .6s ease-out;
	transition: transform .6s cubic-bezier(.17,.89,.67,1.57), opacity .6s ease-out;
}

.scrollimation.scale-in.in{
	opacity:1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform:scale(1);
}

.scrollimation.fade-right{
	opacity:0;
	-webkit-transform: translateX(-60px);
	-moz-transform: translateX(-60px);
	-ms-transform: translateX(-60px);
	transform:translateX(-60px);
	-webkit-transition: -webkit-transform 1.2s ease-out,opacity 1.2s ease-out;
	transition: transform 1.2s ease-out,opacity 1.2s ease-out;
}

.scrollimation.fade-right.in{
	opacity:1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform:translateX(0px);
}

.scrollimation.fade-left{
	opacity:0;
	-webkit-transform: translateX(60px);
	-moz-transform: translateX(60px);
	-ms-transform: translateX(60px);
	transform:translateX(60px);
	-webkit-transition: -webkit-transform 1.2s ease-out,opacity 1.2s ease-out;
	transition: transform 1.2s ease-out,opacity 1.2s ease-out;
}

.scrollimation.fade-left.in{
	opacity:1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform:translateX(0px);
}

.scrollimation.fade-up{
	opacity:0;
	-webkit-transform: translateY(60px);
	-moz-transform: translateY(60px);
	-ms-transform: translateY(60px);
	transform:translateY(60px);
	-webkit-transition: -webkit-transform 1.2s ease-out,opacity 1.2s ease-in;
	transition: transform 1.2s ease-out,opacity 1.2s ease-in-out;
}

.scrollimation.fade-up.in{
	opacity:1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform:translateY(0px);
}

.scrollimation.fade-down{
	opacity:0;
	-webkit-transform: translateY(-60px);
	-moz-transform: translateY(-60px);
	-ms-transform: translateY(-60px);
	transform:translateY(-60px);
	-webkit-transition: -webkit-transform 1.2s ease-out,opacity 1.2s ease-in;
	transition: transform 1.2s ease-out,opacity 1.2s ease-in-out;
}

.scrollimation.fade-down.in{
	opacity:1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform:translateY(0px);
}

.scrollimation.d1{
	transition-delay:.3s;
}

.scrollimation.d2{
	transition-delay:.6s;
}

.scrollimation.d3{
	transition-delay:.9s;
}

.scrollimation.d4{
	transition-delay:1.2s;
}

.touch .scrollimation.fade-in{
	opacity:1;
}

.touch .scrollimation.scale-in{
	opacity:1;
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	transform:scale(1);
}

.touch .scrollimation.fade-right{
	opacity:1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform:translateX(0px);
}

.touch .scrollimation.fade-left{
	opacity:1;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	transform:translateX(0px);
}

.touch .scrollimation.fade-up{
	opacity:1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform:translateY(0px);
}

.touch .scrollimation.fade-down{
	opacity:1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform:translateY(0px);
}

/*---------------------
---- Custom Styles ----
   ---- By Eric ----
-----------------------*/

/* -- .header-2 -- */
.header-2 {
	position: relative;
	margin-bottom: 3px;
	overflow: hidden;
}

.header-2 .home-container{
  position: relative;
  margin-top: 100px;
	width:100%;
	height: 300px;
	z-index: 2;
  background-color: #00bde6;
  text-align: center;
}

.header-2 .font-vartical {
  position: absolute;
  top: 50%;
  margin-top: -65px;
  left: 50%;
  margin-left: -300px;
  width: 600px;
  height: 130px;
}

.header-2 .corner {
  height: 29px;
	background: #fff url('../images/home-qa-corner.png') center top no-repeat;
}

#main-content-qa {
  margin-bottom: 30px;
	position: relative;
	background: #fff;
	z-index: 10;
}

#main-content-qa .container {
  max-width: 780px;
  padding: 0;
}

#main-content-qa .has-border {
  border-right: 1px solid #00bde6;
}

#main-content-qa .left {
  padding: 50px 20px;
}

#main-content-qa .right {
  padding: 50px 20px;
}

#main-content-qa .qa {
  float: right;
  padding: 15px;
  width: 100%;
  height: auto!important;
  background: #00bde6;
  border-radius: 5px;
  color: #fff;
}

#main-content-qa .qa-body {
  margin-top: 10px;
  padding: 5px;
  height: 200px;
  border: 1px solid #fff;
  border-radius: 2px;
  font-size: 14px;
	overflow-y: scroll;
}

#main-content-qa .qa-body ul {
  padding-left: 20px;
}

#main-content-qa .qa h4 {
  color: #fff;
  margin: 0;
  font-size: 16px;
  font-weight: normal;
}

#main-content-qa .qa-question textarea {
  margin-top: 15px;
  width: 100%;
  height: 100px;
  border: 1px solid #fff;
  background: none;
  font-size: 14px;
  color: #fff;
  text-indent: 10px;
  outline: none !important;
}

#main-content-qa .qa-question textarea::selection {
  border: 1px solid #fff;
}

#main-content-qa .qa-question textarea::-webkit-input-placeholder {
  color: #fff;
}

#main-content-qa .qa-question .submit {
  float: right;
  margin-top: 15px;
  padding: 3px 10px;
  border-radius: 15px;
  background: #fff;
  color: #00bde6;
  border: 1px solid #fff;
  font-size: 14px;
}


#main-content-qa .doctor {
  margin-bottom: 20px;
}

#main-content-qa .avatar {
  float: right;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #241916;
  box-shadow: 0 0 2px #241916;
}

#main-content-qa .avatar img {
  width: 100%;
}

#main-content-qa .profile {
  position: relative;
  clear: both;
  margin-top: 10px;
  /*
  height: 150px;
  overflow-y: scroll;
  */
}

#main-content-qa .profile h4 {
  color: #00bde6;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: normal;
}
#main-content-qa .profile p {
  font-size: 14px;
}

.doctor-list {
  position: relative;
  clear: both;
  width: 100%;
}
.doctor-list .s-avatar {
  display: inline-block;
  margin-right: 10px;
  width: 30%;
  height: 30%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #241916;
  box-shadow: 0 0 2px #241916;
  text-align: center;
}
.doctor-list .s-avatar img {
  width: 110px;
  height: 110px;
}

#home-rohto .home-container {
  position: relative;
  padding-left: 0;
  margin-top: 100px;
	width:100%;
	height: 400px;
	z-index: 2;
  background: url(../images/rohto-background.png) 100% no-repeat;
  text-align: center;
}

.home-rohto-mask {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #00bde6;
  opacity: 0.4;
}

#home-rohto h2 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: normal;
  font-size: 22px;
}


/* -- footer -- */
footer {
  padding: 10px 0 30px 0;
  background: #241916;
  text-align: center;
}

.clear { clear: both; display: block; }
